package com.boco.blch.analysiser.compliance.HW.data;

import com.boco.blch.analysiser.compliance.ComplianceResolved;


/**
 * @author 黄戈
 * HBase定期更新版本或厂商漏洞补丁安全基线要求项
 *
 */
public class BOCO_Hbase_VersionManage_CycleUpdate implements ComplianceResolved {

	@Override
	public int realEchoResolved(String echoResult) {
		
		if(!echoResult.equals("")&&echoResult!= null&&(!echoResult.contains(NoPermission1)&&!echoResult.contains(NoPermission2)&&!echoResult.contains(NoPermission3))){
			if(!echoResult.contains(NotFindFile)&&!echoResult.contains("boco-HBase-result:error")){
				if(echoResult.contains("2.0.0")){
					return SUCCESS;
				}else{
					return FAILED;
				}
			}else{
				return FAILED;
			}
		}else
		{
			return FAILED;
		}
		
	}
	
/*
	

*/
}
